﻿<%@ include file="/WEB-INF/views/framework/global.jsp" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>报告审核</title>
</head>
<body class="kk">
	<ul class="nav nav-tabs g_navbar">
	  <li><a href="${reqRoot}">报告审阅</a></li>
	  <li class="active"><a href="#">报告审核</a></li>
	</ul>
	<div class="framework_container">
		<section class="row">
			<div class="col-md-2"></div>
			<div class="col-md-8">
				<section class="row">
					<div class="col-md-8 dotline2">
						<div class="row">
							<div class="col-md-12">
								<h3 class="fw">${report.name}</h3>
								<h6>作者：${report.creator.name}&nbsp;&nbsp;/&nbsp;&nbsp;状态：<span id="status">${report.status}</span></h6>
							</div>
						</div>
						<br>
						<div id="content" style="line-height:25px;">
							<article>${report.content}</article>
						</div>
						<c:if test="${report.accessoryFileId!= null}">
							<p class="addition_box mt20"> <a href="${reqRoot}/download/${report.accessoryFileId}"><i class="icon doc ie_dib">附件下载</i></a> </p>
						</c:if>
					</div>
					<div class="col-md-4">
						<form class="form-horizontal" id="my_form" role="form" action="${reqRoot}/add/result/" method="post">
							<input type="hidden" id="id" name="id" value="${report.id}" />
							<div class="form-group">
								<label class="col-lg-12 control-label" for="result" style="text-align:left;"><span class="sssline"></span>审核意见</label>
								<div class="col-lg-12">
									<label class="radio-inline ml10">
									  <input type="radio" name="result" value="PASS" checked> 通过
									</label>
									<label class="radio-inline">
									  <input type="radio" name="result" value="REJECT"> 不通过
									</label>
								</div>
							</div>
							<div class="dotline"></div>
							<div class="form-group">
								<label class="col-lg-12 control-label tl"  style="text-align:left;"><span class="sssline"></span>意见建议</label>
								<textarea class="col-lg-12 mt10 ml20" name="content" rows="10" style="width:90%;"></textarea>
							</div>
							<div class="dotline"></div><br>
							<div class="form-group tc">
								<button type="submit" class="btn btn-success mr20" id="submit">提交</button>
							</div>
						</form>
					</div>
				</section>
			</div>
			<div class="col-md-2"></div>
		</section>
		<!-- 不通过form提交 -->
		<%--
		<div class="form-group">
			<label class="col-lg-2 control-label" for="exampleInputEmail1">审核结果(下拉)</label>
			<input id="result" name="result" value="REJECT"/>
		</div>
		--%>
	</div><!-- /framework_container -->
	<script src="${cmpRoot}/confirm_add.js"></script>
</body>
</html>
